﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SampleFacebook
{
    public partial class WebFormAdditionalInfo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            List<ClassMenu> menuta = new List<ClassMenu>();
            menuta.Add(new ClassMenu("url1", "title1"));
            menuta.Add(new ClassMenu("url2", "title2"));
            menuta.Add(new ClassMenu("url3", "title3"));
            menuta.Add(new ClassMenu("url4", "title4"));
            menuta.Add(new ClassMenu("url5", "title5"));

            this.MyMenu.Items = menuta;
        }
    }
}